package com.zt.csp.shorturl.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.zt.csp.shorturl.entity.ShortUrl;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ShortUrlMapper extends BaseMapper<ShortUrl> {

    ShortUrl selectOne(long id);

    long insertReturnId(ShortUrl shortUrl);
}
